package com.example.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient("notification-serv")
public interface NotificationService {

    @PostMapping("api/v1/notification")
    void notifyCustomer(@RequestBody NotificationRequest notificationRequest);

}
